#pragma once

#include "MBCameraView.h"
#include "MBDataTypes.h"

class MBDistanceMap
{
public:
	MBDistanceMap( void );

	MBuint GetWidthPixels( void ) { return m_widthPixels; }
	MBuint GetHeightPixels( void ) { return m_heightPixels; }

	virtual bool Update( const MBCameraView *currentView ) = 0;

	float GetDepthAtCoord( double u, double v, bool bottomLeftOrigin = true ) const;

protected:
	float *m_data;
	MBuint m_widthPixels;
	MBuint m_heightPixels;
};